component accessors="true" extends="controllerbase" {
	property supplier;
	this.entityObj = "supplier";

	public void function importFile(rc){
		variables.supplier.importFile(rc);
		variables.fw.renderData('json', true);
	}

	public void function exportFile(){
		variables.supplier.exportFile();
	}


	public void function list(rc){
		//当前模块分页条件
		var moduleSqlWhere = "";
		if( structKeyExists(rc, "supchsname") && len(trim(rc.supchsname)) >0 ){
			var moduleSqlWhere = " and  supchsname like '%#rc.supchsname#%' ";
		}

		super.list(rc,moduleSqlWhere);
	}


}